<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html 
      xmlns:f="http://java.sun.com/jsf/core" 
	  xmlns:h="http://java.sun.com/jsf/html"
	  xmlns:ui="http://java.sun.com/jsf/facelets" >
	  
<ui:composition template="index.xhtml"><ui:define name="content">
<h:form>
  <table border="0" cellpadding="10" align="center" bgcolor="#FFFFFF">
   <tr>
      <th scope="row" colspan="2"><h:outputText value="#{msg['creation.titre_formulaire']}"/><hr/></th>
    </tr>
    <tr>
      <th scope="row"><div align="right">Nom</div></th>
      <td>
      	<h:inputText id="nom"
      	             required="true"
      	             value="#{gestionCreationUtilisateur.user.nom}"
      	             validator="#{gestionCreationUtilisateur.verificationChamp}"/>
      	<h:message for="nom"/>
	  </td>
    </tr>
    <tr>
      <th scope="row"><div align="right">Prenom</div></th>
      <td><h:inputText id="prenom"
                         required="true"
                         value="#{gestionCreationUtilisateur.user.prenom}"
      	                 validator="#{gestionCreationUtilisateur.verificationChamp}"/>
      	  <h:message for="prenom"/>
      </td>
    </tr>
    <tr>
      <th scope="row">&nbsp;</th>
      <td>
      	<h:commandButton action="#{gestionCreationUtilisateur.verification}" value="Ajouter"/>
        <h:commandButton action="accueil.xhtml" value="Revenir"/>
      </td>
    </tr>
  </table>
</h:form>
</ui:define></ui:composition>
</html>